package archer.framework.protocol.exception;

import archer.framework.protocol.result.ResultCode;

/**
 * @author christ
 * @date 2016/8/11
 */
public class ConditionNoMetException extends BusinessException {

    public ConditionNoMetException() {
        super(ResultCode.CONDITION_NO_MET);
    }

    public ConditionNoMetException(String resultMsg) {
        super(ResultCode.CONDITION_NO_MET.name(), resultMsg);
    }

    public ConditionNoMetException(String resultMsg, Object resultData) {
        super(ResultCode.CONDITION_NO_MET.name(), resultMsg, resultData);
    }

    public ConditionNoMetException(String resultMsg, String resultCodeExt, Object resultData) {
        super(ResultCode.CONDITION_NO_MET.name(), resultMsg, resultCodeExt, resultData);
    }
}
